﻿@model IEnumerable<Blog190311.Models.DBModel.Article>

<h2>文章分类</h2>
<ul>
    @{
        if (Model != null)
        {
            foreach (var item in Model)
            {
                <li>
                    <a href="~/Article/Index?type=@item.Type&page=1&limit=10">@item.Type (@item.Count)</a>
                </li>
            }
        }
    }
</ul>